/**
 * The Income Report class will be connected to the Appointment 
 * class and be responsible for...
 * returning the yearMonth in int.
 */
package docoffice.doss;
/**
 * @author Jackie Trujillo
 * @version $Revision 1.0
 */
public class IncomeRpt {

	/**
	 * Field total.
	 */
	private int total;
	
	/**
	 * Field name.
	 * Field doctor.
	 */
	private String doctor, name;
	
	/**
	 * Constructor for IncomeRpt.
	 * @param doctor String
	 * @param name String
	 * @param total int
	 */
	public IncomeRpt(String doctor, String name, int total){
		this.name= name;
		this.doctor = doctor;
		this.total = total;
	}
	
	/**
	 * Method getDoctor.
	
	 * @return String */
	public String getDoctor(){
		return this.doctor;
	}
	
	/**
	 * Method getName.
	
	 * @return String */
	public String getName(){
		return this.name;
	}
	
	/**
	 * Method getTotal.
	
	 * @return int */
	public int getTotal(){
		return this.total;
	}
	
	/**
	 * Method setDoctor.
	 * @param doctor String
	 */
	public void setDoctor(String doctor){
		this.doctor = doctor;
	}
	
	/**
	 * Method setName.
	 * @param name String
	 */
	public void setName(String name){
		this.name = name;
	}
	
	/**
	 * Method setTotal.
	 * @param total int
	 */
	public void setTotal(int total){
		this.total = total;
	}
		
	/**
	 * Method toString.
	 * @return String
	 */
	public String toString(){
		return "This is a report of monthly income " +
				"for the hospital";
	}
}
